[8주차/카사] 워크북 제출합니다.#85
Open
jjeunv wants to merge 5 commits into
Open
Conversation
12234538
reviewed
May 24, 2026
| @@ -0,0 +1,15 @@ | |||
| import { useEffect, useState } from "react" | |||
There was a problem hiding this comment.
debounce를 처음 들어봐서 어떻게 코드를 짜야할지 잘 몰랐는데 카사 코드가 깔끔해서 참고하기 좋을 것 같아요!
|
카사 말을 듣고 저도 찾아봤는데,
등등이 있다구 하더라구요! 그런데 제 생각에는 현재 구조에서 데스크탑과 모바일일 때의 사이드바 역할이 조금 다르다고 느꼈습니다. 정리해보면 아래와 같이 차이점이 있을 것 같아요.
데스크탑의 경우 스크롤을 막아버리면 사용자는 메인 컨텐츠를 보려고 할 때마다 사이드바를 닫아야 해 UX적으로 불편함이 있을 것 같습니다. 그래서 제 생각에는 모바일(오버레이형)에서는 스크롤을 잠그고, 데스트탑(고정형)에서는 스크롤 잠금을 해제하는 방향이 좋아보입니다! 구현은 CSS 미디어쿼리를 이용해 아래처럼 코드를 작성하면 좋을 것 같습니다! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트
📌 주안점
미션 3의 배경 스크롤 방지 항목 구현 중에 궁금한 점이 생겼습니다 ❗❗ ◑﹏◐
일반적으로 사이드바가 열렸을 때 배경 스크롤을 막는 것이 UX 관점에서 권장되는 패턴이라고 적혀있었는데,
저는 미션을 진행하면서 오히려 사이드바를 탐색하면서 배경 콘텐츠도 함께 스크롤할 수 있는 편이 더 자연스러울 수 있다고 생각했습니다. §( ̄▽ ̄)§
여러분은 생각은 어떤지 궁금합니다~.~ 사이드바가 열렸을 때 배경 스크롤을 막는 것이 더 나은 UX라고 생각하시나요? 👀